﻿//Copyright (c) Microsoft Corporation.  All rights reserved.

using Microsoft.ApplicationServer.Caching;
using Microsoft.Ted.Wacel.Cache;

namespace Microsoft.Ted.Wacel.Cache
{
    public class CircularBuffer<T>: Base.CircularBuffer<T>
    {
        public CircularBuffer(string name, long size)
               : base(name, size, 
                    new WindowsAzureCacheDataProvider(new DataCache(), name) {Configuration = new WindowsAzureCacheConfiguration()},
                    new WindowsAzureCachLockProvider(new DataCache(), name))
        {
        }
    }
}
